// 后台管理模块路由配置
// import Layout from '@/views/layout'
import Layout from "@/layout";
export default {
  path: "/subject",
  component: Layout,
  name: "subject",
  meta: { title: "学科管理", icon: "example" },
  children: [
    {
      name: "subject-list",
      path: "/subject/subject",
      component: () => import("@/views/subject/subject"),
      meta: { title: "学科", icon: "table" },
    },
    {
      name: "subject-menu",
      path: "/subject/subjectmenu/:id?/:name?",
      component: () => import("@/views/subject/subjectmenu"),
      meta: { title: "目录", icon: "table" },
    },
    {
      name: "subject-tags",
      path: "/subject/subjecttags/:id?/:name?",
      component: () => import("@/views/subject/subjecttags"),
      meta: { title: "标签", icon: "table" },
    },
  ],
};
